<?php
namespace app\common\model;

// 仓库列表
class Room extends Base
{
    //仓库属性关联
    public function warehouseinfo(){
        return $this->hasOne('Warehouse','id','warehouse');
    }
    //商品属性关联
    public function goodsinfo(){
        return $this->hasOne('Goods','id','goods');
    }
	
}